package cn.wsalix.shiro.token;

import lombok.Data;
import lombok.EqualsAndHashCode;
import cn.wsalix.admin.entity.SysRole;
import cn.wsalix.weixin.entity.WxUser;

@Data
@EqualsAndHashCode(callSuper = false)
public class WxAppToken extends ThirdToken {
	/**
	 * {"access_token":"OezXcEiiBSKSxW0eoylIeMAVxZVxddI7e7-_4A9a5CbNrADVyUGPYp1Tp8LAKNTAU0jdoMn115vyN0Lp2B6n0Jo2zUQlYmpVlzCq8WpNFrqbKD08nPnlPVTGoi8UOCL8K-wCI1rUvBHxNwJEMQ8jxg",
	 * "expires_in":7200,
	 * "refresh_token":"OezXcEiiBSKSxW0eoylIeMAVxZVxddI7e7-_4A9a5CbNrADVyUGPYp1Tp8LAKNTAiR4B7p7t8ILPxN_QSflsTEfH1St5um7ijLRrmJm3QUfO3f7lpd-Ag5l8AWI5j2CcSonD3oWU3xosdNx5VktyIg",
	 * "openid":"ovC6gt1xfqq_T41OB0qpCW7IPBA4",
	 * "scope":"snsapi_userinfo",
	 * "unionid":"o5m6xs6EkfjK0hBaX3dHorvn7NdE"}
	 */
	private static final long serialVersionUID = 4363764975873823185L;

	private String access_token;
	private String expires_in;
	private String refresh_token;
	private String openid;
	private String scope;
	private String unionid;
	private String remark;
	//
	private WxUser wxUser;
	
	private SysRole mainRole;
}
